.orders-page {
  // padding-top: 45px; /* Header height */

  background-color: #f5f5f5;
  .orders-content {
    padding: 16px;
    .orders-top {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 12px;
      width: 100%;
      // 让搜索框沾满整行
      .adm-search-bar {
        flex: 1 1 auto;
        width: 100%;
      }
    }

    .orders-scroll { height: calc(100vh  - 64px - 60px); overflow-y: auto; }
    .order-list { 
      display: flex; 
      flex-direction: column; 
      gap: 12px; 
      width: 100%; 
      
      .loading-container,
      .empty-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
        text-align: center;
        
        .loading-text,
        .empty-text {
          font-size: 16px;
          color: #333;
          margin-bottom: 8px;
        }
        
        .empty-tip {
          font-size: 14px;
          color: #666;
        }
      }
      
      .loading-container {
        .loading-text {
          color: #1890ff;
        }
      }
    }

    .order-card {
      display: flex;
      background: #fff;
      border-radius: 12px;
      padding: 16px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
      align-items: flex-start;
      width: 100%;
    }

    .order-left {
      display: inline-flex;
      margin-right: 10px;
      .order-merchant {
        display: flex;
        justify-content: center;
        align-items: center;
        color: #666;
        font-weight: 14px;
        line-height: 2rem;
      }
    }

    .order-info {
      flex: 1;
    }
    .order-title-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
    }
    .order-merchant {
      font-size: 15px;
      color: #111;
      font-weight: 600;
    }
    .order-price-block {
      text-align: right;
    }
    .order-amount {
      font-size: 18px;
      color: #111;
      font-weight: 500;
      line-height: 1;
    }
    .order-discount {
      color: red;
      font-size: 10px;
      margin-top: 6px;
      font-weight: 400;
    }

    .order-meta {
      color: #666;
      font-size: 12px;
      margin-top: 4px;
    }

    .order-tabs{
      color: #00a3ff;
    }

    .order-actions {
      margin-top: 10px;
      display: flex;
      justify-content: flex-end;
    }
    .order-delete {
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 18px;
      padding: 6px 12px;
      font-size: 12px;
      color: #999;
    }

    .loading-text,
    .no-more-text {
      text-align: center;
      color: #888;
      padding: 12px 0;
    }
  }

  .footer-button {
    width: 85%;
    button{
      border-radius: 32px;
    }
  }
}
